<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="telephone=no" name="format-detection" />
    <title>团团赚</title>
    <link href="{{ static('css/main.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ static('css/style.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ static('css/shake.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ static('css/font-awesome.min.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ static('css/animate.min.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ static('css/idangerous.swiper.css') }}" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="{{ static('js/jquery-1.8.3.min.js') }}"></script>
    <script type="text/javascript" src="{{ static('js/wo.js') }}"></script>
</head>
<body style="background-color: #fff !important;">
<div class="warpe">
    <div class="head">
        <a href="#" class="return"><i class="icon-chevron-left"></i> 返回</a>
        团团赚
        <a href="group_sign.html" class="plus"><i class="icon-off"></i> </a>
        <a href="community_sign.html" class="search"><i class="icon-reorder"></i> </a>
    </div>
    <div class="tabs my_tab">
        <a href="#" hidefocus="true" class="active">我的</a>
        <a href="#" hidefocus="true">活动</a>
    </div>
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <div class="content-slide">
                    <div class="main">
                        {% for shop in create_shop %}
                            <div class="postall">
                                <a href="{{ url('group:group_xq', kwargs={"shop_id": shop.id}) }}">
                                    <div class="post_t">
                                        <img src="{{ static('img/banner.jpg') }}">
                                        <span>{{ user.username }}</span>
                                        <span class="puff_right place animated fadeInRight"><label class="color_y">￥{{ shop.price }}</label> <label class="color_y"><img src="{{ static('img/icon_tg01.png') }}" class="group_img">{{ shop.count_least }}人起团</label></span>
                                    </div>
                                    <div class="post_title animated fadeInRight">
                                        <p>{{ shop.title }}<span>置顶</span> </p>
                                    </div>
                                    <div class="post_m">
                                        <p>{{ shop.info }}</p>
                                    </div>
                                    <div class="post_img">
                                        <ul class="postimg_list2">
                                            <li class="animated bounceIn">
                                                <img src="{{ shop.image_urls }}">
                                            </li>
                                            <li class="animated bounceIn">
                                                <img src="{{ shop.image_urls }}">
                                            </li>
                                            <li class="animated bounceIn">
                                                <img src="{{ shop.image_urls }}">
                                            </li>
                                            <li class="animated bounceIn">
                                                <img src="{{ shop.image_urls }}">
                                            </li>
                                        </ul>
                                    </div>
                                    <div class="post_b">
                                        <span class="puff_left">{{ shop.create_time }}</span>
                                        <span class="puff_right">
                                            <label><i class=" icon-user color_y"></i> 8</label>
                                            <label><i class="icon-comments-alt color_y"></i> 12</label>
                                        </span>
                                    </div>
                                </a>
                            </div>
                        {% endfor %}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="{{ static('js/idangerous.swiper.min.js') }}"></script>
<script type="text/javascript">
    var tabsSwiper = new Swiper('.swiper-container',{
        speed:500,
        onSlideChangeStart: function(){
            $(".tabs .active").removeClass('active');
            $(".tabs a").eq(tabsSwiper.activeIndex).addClass('active');
        }
    });
    $(".tabs a").on('touchstart mousedown',function(e){
        e.preventDefault()
        $(".tabs .active").removeClass('active')
        $(this).addClass('active')
        tabsSwiper.slideTo( $(this).index() )
    })
    $(".tabs a").click(function(e){
        e.preventDefault()
    })
</script>
</body>
</html>